package io.comiccloud.rest

import de.heikoseeberger.akkahttpjson4s.Json4sSupport
import org.json4s.jackson.Serialization
import org.json4s.{DefaultFormats, Formats, jackson}

trait DefaultSupport extends Json4sSupport {

  implicit val serialization: Serialization.type = jackson.Serialization // or native.Serialization
//  implicit val jsonFormats: AnyRef with Formats = Serialization.formats(NoTypeHints)
  implicit val jsonFormats: AnyRef with Formats = DefaultFormats

}
